import Vue from 'vue';
import EventEmiter from 'event-emitter';
import App from './App.vue';
import store from './store';
// import '@/assets/fonts/font.css';

//引入路由
import router from '@/router';
import 'video.js/dist/video-js.css';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import vscroll from 'vue-seamless-scroll';
import html2canvas from 'html2canvas';
import dealData from 'lodash'; //数据处理工具类
import 'lib-flexible/flexible.js';
import '@/styles/animation.scss';
import VideoPlayer from 'vue-video-player';
import 'videojs-contrib-hls';
import vcolorpicker from 'vcolorpicker'
Vue.use(vcolorpicker)
Vue.use(VideoPlayer);

Vue.use(vscroll);
Vue.use(ElementUI);
Vue.use(html2canvas);

import marquee from 'marquee-components'
Vue.use(marquee );

Vue.use(function (Vue) {
  Vue.prototype.$event = new EventEmiter();
});
Vue.prototype.dealData = dealData;
Vue.config.productionTip = false;
new Vue({
  render: (h) => h(App),
  store,
  router,
}).$mount('#app');
